package com.ny.service;

import com.ny.entity.Order;
import com.ny.entity.Product;

import java.sql.SQLException;
import java.util.List;

public interface OrderService {
    List<Order> findAllOrder() throws SQLException;
    int addOrder(Order order) throws SQLException;
    int deleteOrder(int orderId) throws SQLException;
    int updateOrder(Order order) throws SQLException;
}
